package hehe.validation.annotation;

import hehe.validation.validator.ValidAlias;

import java.lang.annotation.Annotation;
import java.lang.reflect.Field;

/**
 * Validator注解处理器
 *<B>说明：</B>
 *<pre>
 * 略
 *</pre>
 *<B>示例：</B>
 *<pre>
 *  略
 *</pre>
 *<B>日志：</B>
 *<pre>
 *  略
 *</pre>
 *<B>注意事项：</B>
 *<pre>
 *  略
 *</pre>
 */
public class ValidatorProcessor extends BaseValidatorProcessor
{
    public void field(Class<?> targetClazz, Field field, Annotation annotation)
    {
        this.configure(annotation,targetClazz,field, ValidAlias.getValidatorAnnotation(annotation.annotationType()));
        // 注入Validator 所有属性
        this.putVerify();

    }

}
